;(function (window) {

  const loading = {
    template:`<div class="hl-loading-container">
              <img  src="assets/images/loading.gif"/>
              <div class='text'>{{text}}</div>
    </div>`,
    data(){
      return {

      }
    },
    props:{
      text:{
        type:String,
        default:'加载中',
      }
    },
  }

  Vue.component('hl-loading',loading)

} (window))
